package org.example.lost.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.util.Date;

/**
 * 用户信息类
 */
@Data
public class UserInfo {
    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户昵称")
    private String userNick;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("学号")
    private String stuNum;

    @ApiModelProperty("密码")
    private String userPwd;

    @ApiModelProperty("联系方式")
    private String userPhone;

    @ApiModelProperty("微信号")
    private String wechatId;

    @ApiModelProperty("身份证号码")
    private String numId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    @ApiModelProperty("用户身份")
    private String roleName;

    @ApiModelProperty("用户认证信息")
    private String token;


}